package com.fescoservice.model;

import java.util.Date;

/**
 * TCategory entity. @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	private CategoryId id;
	private String code1Name;
	private String code2Name;
	private String code3Name;
	private Date regDate;
	private Date updateDate;
	private Long userId;
	private String locale;
	private String type;
	private String status;
	private Integer sortOrder;
	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(CategoryId id) {
		this.id = id;
	}

	/** full constructor */
	public Category(CategoryId id, String code1Name, String code2Name,
			String code3Name, Date regDate, Date updateDate, Long userId,
			String locale, String type, String status,Integer sortOrder) {
		this.id = id;
		this.code1Name = code1Name;
		this.code2Name = code2Name;
		this.code3Name = code3Name;
		this.regDate = regDate;
		this.updateDate = updateDate;
		this.userId = userId;
		this.locale = locale;
		this.type = type;
		this.status = status;
		this.sortOrder = sortOrder;
	}

	// Property accessors

	public CategoryId getId() {
		return this.id;
	}

	public void setId(CategoryId id) {
		this.id = id;
	}

	public String getCode1Name() {
		return this.code1Name;
	}

	public void setCode1Name(String code1Name) {
		this.code1Name = code1Name;
	}

	public String getCode2Name() {
		return this.code2Name;
	}

	public void setCode2Name(String code2Name) {
		this.code2Name = code2Name;
	}

	public String getCode3Name() {
		return this.code3Name;
	}

	public void setCode3Name(String code3Name) {
		this.code3Name = code3Name;
	}

	public Date getRegDate() {
		return this.regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getLocale() {
		return this.locale;
	}

	public void setLocale(String locale) {
		this.locale = locale;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

}